package cn.sxgan.gen.model;

import lombok.Data;

/**
 * @Description: 全局数据源
 * @Author: sxgan
 * @Date: 2025-07-14 16:05
 * @Version: 1.0
 **/
@Data
public class GlobalDataSource {
    private String key;       // 数据源标识（如: tenant_001）
    private String host;
    private String port;
    private String url;
    private String dbName;
    private String username;
    private String password;
    private String driverClassName;
    private String dbType;
    private Integer activeCount; // Druid 活动连接数
    private Integer idleCount;   // Druid 空闲连接数
}
